import request from '@/http/request'

export function updateAvatar(fileId){
    return request({
        url:'/api/person/updateAvatar',
        method:'get',
        params:{fileId}
    })
}

export function updateInfos(data){
    return request({
        url:'/person/updateInfos',
        method:'post',
       data
    })
}

export function queryDetails(){
    return request({
        url:'/person/queryDetails',
        method:'get',
    })
}

export function queryAlbum(){
    return request({
        url:'/api/person/queryAlbum',
        method:'get',
    })
}

export function layout(){
    return request({
        url:'/user/layout',
        method:'get'
    })
}